#ifndef _S_LCD_H_
#define _S_LCD_H_

#define WHITE       0xFFFF
#define BLACK      	0x0000	  
#define BLUE       	0x001F  
#define BRED        0XF81F
#define GRED 			 	0XFFE0
#define GBLUE			 	0X07FF
#define RED         0xF800
#define MAGENTA     0xF81F
#define GREEN       0x07E0
#define CYAN        0x7FFF
#define YELLOW      0xFFE0
#define BROWN 			0XBC40 //×ØÉ«
#define BRRED 			0XFC07 //×ØºìÉ«
#define GRAY  			0X8430 //»ÒÉ«
#define GRAY0       0xEF7D 
#define GRAY1       0x8410      	//»ÒÉ«1      00000 000000 00000
#define GRAY2       0x4208 

extern void s_lcd_show_char(unsigned short x, unsigned short y, \
	unsigned short fc, unsigned short bc, \
	unsigned char char_num, unsigned char char_size);
extern void s_lcd_show_string(unsigned short x, unsigned short y, \
	unsigned short fc, unsigned short bc, \
	unsigned char *data, unsigned short len , unsigned char char_size);
extern void s_lcd_show_pic(unsigned short x, unsigned short y, unsigned short width, unsigned short height, unsigned char *pic);
extern signed char s_lcd_init(void);
extern void s_lcd_fill(unsigned short x, unsigned short y, unsigned short width, unsigned short height, unsigned short color);

#endif

